﻿using System;
using System.Collections.Generic;
using Color = System.Drawing.Color;
using SwinGame;

namespace RandomShapeGenerator.src
{
    public class EllipseRenderer : IShapeRenderer
    {
        public void Draw(Shape s)
        {
            Graphics.FillEllipse(
                s.Color, s.X, s.Y, s.Width, s.Height
                );
        }

        public void Highlight(Shape s)
        {
            Graphics.DrawEllipse(
                Color.Yellow, s.X, s.Y,s.Width,s.Height
                );
        }
    }
}
